package megamu.mesh;

import java.util.LinkedHashMap;


public class VoronoiInput<String, E extends Site> extends LinkedHashMap{
	
	public VoronoiInput(){
	}
	
	public double[] xValuesIn(){
		double[] outX = new double[this.size()];
		for(int i = 0; i < this.size(); i++){
			outX[i] = ((Site)this.get(i)).vert.x();
		}
		return outX;
	}
	
	public double[] yValuesIn(){
		double[] outY = new double[this.size()];
		for(int i = 0; i < this.size(); i++){
			outY[i] = ((Site)this.get(i)).vert.y();
		}
		return outY;
	}
	
	//public void addSite(Site newSite){
	//	allSites.add(newSite);
	//}

}
